# REQUIRES: zlib

# RUN: yaml2obj %p/Inputs/compress-debug-sections.yaml -o %t.o
# RUN: not llvm-objcopy --compress-debug-sections=zlib --decompress-debug-sections %t.o 2>&1 | FileCheck %s

# CHECK: cannot specify both --compress-debug-sections and --decompress-debug-sections

